import axiosInstance,{ AxiosResponseProps } from '@/api/request'

export const login = (params: any) => {
	return axiosInstance.post<any,AxiosResponseProps>("/user/login", params);
}


// 是否在线
// export const isLogin = (url, data = {}, option = { headers: "application/x-www-form-urlencoded" }) => {
//     return axiosInstance.post(`${baseURL}${url}`, data, option)
//         .then(
//             response => {
//                 return response.data;
//             }
//         )
// }


